const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CqS2VGcm2HIjxS.js","assets/CtbHscGXagutd.js","assets/CtybWkkwagutd.js","assets/2PUedpbZ2IPdvA.css","assets/Bkwc4mn985i4h.js","assets/DxtVL4raPQMM7.js","assets/Z2gk5ilr85ygF.js","assets/BsAJcGVb1t8dnT.js","assets/BO-1Nlv-3PfrX1.js","assets/DQa6Go684zgWvW.css","assets/CvJ0NTJ0VsvYH.css","assets/-MqDEYFv1yYXP.js","assets/DvLq_dgv4fiLPx.js","assets/eCxcepT03Vi4N8.js","assets/B15kfdAE31Z9ol.js","assets/DRv3R6s03aWipH.js","assets/DodXNg5_2Xyf8y.js","assets/Drdc3h_L3J5nVB.css","assets/Bv63GRwN2CzT7y.css","assets/DNaAcJYH2GHWbj.js","assets/CCj6VPlz1IaCVz.css","assets/zjL2L3oh2Xyf8y.js","assets/DnwlHoCT3J5nVB.css","assets/DDLj9iTR23Y5b1.js","assets/YBl7R9D3Rz5uC.js","assets/Dbo4x1w21esOcA.js","assets/Bz2936FN3aD96J.js","assets/C3s2euIYc68oV.js","assets/BoedDvK2crTPo.js","assets/C-F322-dvEyQf.css","assets/Dx1HlDOq4aEgas.js","assets/BLUNERkf2R0fCO.js","assets/DoQVSfpf2XMjYu.js","assets/CCvHKAjf22jqhB.css","assets/ZMmu1oy3pqfZH.js","assets/CN4VX_8T3UBGtB.js","assets/BUsZf971agutd.js","assets/VUyFKd9n1qQCy8.css","assets/BmWVEat52C7uvB.js"])))=>i.map(i=>d[i]);
import{_ as a}from"./CtybWkkwagutd.js";import{d as w,p as D,M as L,N as O,O as m,P as R,n,h as T,s as i,c as p,b as u,u as e,o as t,Q as r,f as V,F as b}from"./CtbHscGXagutd.js";import{w as _}from"./YBl7R9D3Rz5uC.js";import{u as W}from"./BsAJcGVb1t8dnT.js";import{a as h}from"./Baw0igdGjuqxK.js";import"./Dbo4x1w21esOcA.js";import"./Bz2936FN3aD96J.js";import"./BVVUEwg63hcpv4.js";import"./BokZeiWK4swc5U.js";const C={key:2},z=w({__name:"app-workspace",setup(x){const c=D("workspace");W("mode-app");const s=L(),d=r(()=>a(()=>import("./CqS2VGcm2HIjxS.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]))),k=r(()=>a(()=>import("./-MqDEYFv1yYXP.js"),__vite__mapDeps([11,1,2,3,6,7,8,9,10]))),E=r(()=>a(()=>import("./DvLq_dgv4fiLPx.js"),__vite__mapDeps([12,1,2,3,13,14,6,7,8,9,10]))),A=r(()=>a(()=>import("./DRv3R6s03aWipH.js"),__vite__mapDeps([15,1,2,3,16,17,18]))),I=r(()=>a(()=>import("./DNaAcJYH2GHWbj.js"),__vite__mapDeps([19,1,2,3,6,7,8,9,20]))),f=r(()=>a(()=>import("./zjL2L3oh2Xyf8y.js").then(o=>o.a),__vite__mapDeps([21,2,1,3,7,6,8,9,16,17,22]))),g=r(()=>a(()=>import("./DDLj9iTR23Y5b1.js"),__vite__mapDeps([23,1,2,3,24,25,26,27,28,8,5,29,30,6,7,9,20]))),l=r(()=>a(()=>import("./BLUNERkf2R0fCO.js"),__vite__mapDeps([31,2,1,3,32,6,7,8,9,33]))),y=r(()=>a(()=>import("./ZMmu1oy3pqfZH.js"),__vite__mapDeps([34,1,2,3,35,36,26,8,37]))),v=r(()=>a(()=>import("./BmWVEat52C7uvB.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,10])));async function P(o){c("openWorkspace from page",o),o?await _.openWorkspace(o):await _.closeWorkspace()}return O(_.closeWorkspace),m(()=>s?.params?.workspaceId,o=>{c("+route open workspace",o),P(o)},{immediate:!0}),R("drop",h),n&&(n.useFunctions({uiOpenPreferences(){T.workspacePage("settings")},uiUndo(){},uiRedo(){}}),m(()=>i.workspace?.id,o=>n?.call.uiLocationWorkspace({id:o}))),(o,B)=>e(i).workspace==null?(t(),p(e(g),{key:0})):e(i).workspace?.ready?(t(),u(b,{key:1},[V(e(y)),e(s).params.itemId==="debug"?(t(),p(e(A),{key:0})):e(s).params.itemId==="settings"?(t(),p(e(l),{key:1})):e(s).params.itemId==="inbox"?(t(),p(e(I),{key:2})):e(s).params.itemId==="category"?(t(),p(e(k),{key:3})):e(s).params.itemId==="tag"?(t(),p(e(v),{key:4})):e(s).params.itemId==="contact"?(t(),p(e(E),{key:5})):e(s).params.itemId==="account"?(t(),p(e(d),{key:6})):(t(),p(e(f),{key:7}))],64)):(t(),u("div",C))}});export{z as default};